-- created by kumiler
-- on 2022/8/18 15:17
-- DESC

CREATE EXTERNAL TABLE IF NOT EXISTS jms_dim.dim_arbitration_type_first_base (
id                                                 bigint                         COMMENT 'ID',
name                                               String                         COMMENT '一级类型名称',
code                                               String                         COMMENT '一级类型编码',
institutional_level_id                             bigint                         COMMENT '机构级别',
institutional_level_desc                           String                         COMMENT '机构级别描述',
is_enable                                          smallint                       COMMENT '是否开启(1:开启 2:未开启)',
update_by                                          bigint                         COMMENT '最后修改人ID',
update_by_name                                     String                         COMMENT '最后修改人名称',
update_time                                        timestamp                      COMMENT '最后更新时间',
create_by                                          bigint                         COMMENT '创建人ID',
create_by_name                                     String                         COMMENT '创建人名称',
create_time                                        timestamp                      COMMENT '创建时间',
time_info                                          String                         COMMENT '时间信息，存储的是JSON数据[{"TIME_TYPE"="1"，"TIME"="24.0"}]'
)
COMMENT '仲裁一级类型配置'
STORED AS PARQUET
LOCATION '/dw/hive/jms_dim.db/external/dim_arbitration_type_first_base'
TBLPROPERTIES (
  'parquet.column.index.access'='true'
);




